<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .main{width:400px;margin: 0 auto}
        span{display: inline-block;}
        .main span:nth-child(1){width: 100px;}
         .main span:nth-child(2){width: 200px;}
        .main > div {margin-top:10px; }
    </style>
</head>
<body>
<div class="main">
    <div>
        <span>学生编号</span>
        <span>用户编号</span>
    
    </div>
{% for students in studentss %}
    <div>
        <span>{{ students.st_id }}</span>
    <span>{{ students.u_id }}</span>

    </div>
{%  endfor %}
</div>
</body>
</html>